#coding=utf-8
from dataclasses import fields
from sqlalchemy.dialects import mysql

from .base import Base, ModelBase
from sqlalchemy import Column, String, text, DateTime
from utils import datetime_util



class HotfixCode(Base, ModelBase):
	__tablename__ = 'hotfix_code'
	__table_args__ = {
		'mysql_engine': 'InnoDB',
		'mysql_charset': 'utf8mb4',
		'mysql_collate': 'utf8mb4_general_ci',
		'mysql_row_format': 'Dynamic',
		'mysql_auto_increment': '1',
		'comment': '热更代码表',
	}

	code = Column(String(999), nullable=False, server_default='', comment='热更代码')
